import request from '@/utils/request'

export function getWindowsList (data) {
  return request({
    url: '/api/setting/windows/index',
    method: 'post',
    data
  })
}

export function saveWindows (data) {
  return request({
    url: '/api/setting/windows/save',
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    method: 'post',
    data
  })
}

export function deleteWindows (data) {
  return request({
    url: '/api/setting/windows/delete',
    method: 'post',
    data
  })
}

export function detailWindows (data) {
  return request({
    url: '/api/setting/windows/detail',
    method: 'post',
    data
  })
}
